﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using QLTV_Public;
using QLTV_Data;

namespace QLTV_BLL
{
  public  class DocGia_BLL
    {
      DocGia_Data docgia = new DocGia_Data();
      public DataTable LayDuLieu()
      {
          return docgia.LayDuLieu();
      }
      public DataTable TaoBang(string sql)
      {
          return docgia.taoBang(sql);
      }
      public int Insert_DocGia(DocGia_Public hoTen, DocGia_Public ngaySinh, DocGia_Public gioiTinh, DocGia_Public diaChi, DocGia_Public lop, DocGia_Public dienThoai, DocGia_Public email, DocGia_Public ngayCap)
      {
          return docgia.insert_DocGia(hoTen,ngaySinh,gioiTinh,diaChi,lop,dienThoai,email,ngayCap);
      }
      public int Update_DocGia(DocGia_Public maDocGia, DocGia_Public hoTen, DocGia_Public ngaySinh, DocGia_Public gioiTinh, DocGia_Public diaChi, DocGia_Public lop, DocGia_Public dienThoai, DocGia_Public email, DocGia_Public ngayCap)
      {
          return docgia.update_DocGia(maDocGia,hoTen,ngaySinh,gioiTinh,diaChi,lop,dienThoai,email,ngayCap);
      }
      public int Delete_DocGia(DocGia_Public maDocGia)
      {
          return docgia.delete_DocGia(maDocGia);
      }
    }
}
